package top.hzy520.user.entity;

import lombok.Data;
import top.hzy520.dept.entity.Dept;
import top.hzy520.role.entity.Role;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class User implements Serializable {

    private boolean rememberMe;
    private byte status;

    private Long id;

    private String username;

    private String password;

    private String headImage;

    private String realName;

    private Long deptId;

    private String email;

    private Date birthday;

    private String sex;

    private String nationality;

    private String address;

    private String nation;

    private List<Role> roleList;

    private Date createTime;

    private Date updateTime;

    private Dept dept;
}